package technique;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *  Interface RMI d'un Noeud
 * @author S Jousselin / M Quin / V Delcroix
 */
public interface NoeudIntf extends Remote{

    void dupliquer(String AdrIP, String nomFic, String contenu) throws RemoteException;
    void getListeFichier(String AdrIp)throws RemoteException;
    void supprimerFichier(String adrIp, String nomFic)throws RemoteException;
    String recup(String AdrIP, String nomFic) throws RemoteException;
    String listeVersion(String AdrIp, String nomFic)throws RemoteException;
    String recupVersion(String AdrIP, String nomFic) throws RemoteException;

}
